<%@ Control Language="c#" AutoEventWireup="false" CodeBehind="ContactForm.ascx.cs"
    Inherits="ud_ContactForm.ContactForm" %>
<portal:ModulePanel ID="pnlContainer" runat="server">
    <portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
        <asp:Panel ID="pnlWrapper" runat="server" CssClass="art-Post-inner panelwrapper contactmodule">
            <portal:ModuleTitleControlCustom runat="server" ID="Title1" RenderArtisteer="true"
                UseLowerCaseArtisteerClasses="true" />
            <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
                <div class="modulecontent">
                    <mp:CornerRounderTop ID="ctop1" runat="server" />
                    <fieldset>
                        <asp:Panel ID="pnlSend" runat="server" SkinID="plain" DefaultButton="btnSend">
                            <asp:Panel ID="pnlToAddresses" runat="server" Visible="false" CssClass="settingrow">
                                <mp:SiteLabel ID="SiteLabel1" runat="server" ForControl="ddToAddresses" ConfigKey="ToLabel"
                                    ResourceFile="ContactFormResources" CssClass="settinglabel"></mp:SiteLabel>
                                <asp:DropDownList ID="ddToAddresses" runat="server" CssClass="forminput" EnableTheming="false">
                                </asp:DropDownList>
                            </asp:Panel>
                            <div class="settingrow">
                                <asp:Label ID="lblEmail" runat="server" CssClass="settinglabel" />
                                <asp:TextBox ID="txtEmail" runat="server" CssClass="forminput widetextbox" Columns="50"
                                    MaxLength="50"></asp:TextBox>
                                <asp:RequiredFieldValidator ErrorMessage="*" CssClass="txterror" ControlToValidate="txtEmail"
                                    ID="reqEmail" ValidationGroup="NoValidation" runat="server" />
                                <asp:RegularExpressionValidator ID="regexEmail" runat="server" Display="none" ValidationGroup="Contact"
                                    ControlToValidate="txtEmail" ValidationExpression="^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@(([0-9a-zA-Z])+([-\w]*[0-9a-zA-Z])*\.)+[a-zA-Z]{2,9})$"></asp:RegularExpressionValidator>
                            </div>
                            <div class="settingrow">
                                <asp:Label ID="lblName" runat="server" CssClass="settinglabel" />
                                <asp:TextBox ID="txtName" runat="server" CssClass="forminput widetextbox" Columns="50"
                                    MaxLength="100"></asp:TextBox>
                                <asp:RequiredFieldValidator ErrorMessage="*" CssClass="txterror" ControlToValidate="txtName"
                                    ID="reqName" ValidationGroup="NoValidation" runat="server" />
                            </div>
                            <div class="settingrow">
                                <asp:Label ID="lblSubject" runat="server" CssClass="settinglabel" />
                                <asp:TextBox ID="txtSubject" runat="server" CssClass="forminput verywidetextbox"
                                    Columns="50" MaxLength="50"></asp:TextBox>
                                <asp:RequiredFieldValidator ErrorMessage="*" CssClass="txterror" ControlToValidate="txtSubject"
                                    ID="reqSubject" ValidationGroup="NoValidation" runat="server" />
                            </div>
                            <div class="settingrow">
                                <asp:Label ID="lblMessageLabel" runat="server" CssClass="settinglabel" />
                                <asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" CssClass="textarea verywidetextbox" />
                                <asp:RequiredFieldValidator ErrorMessage="*" CssClass="txterror" ControlToValidate="txtMessage"
                                    ID="reqMessage" ValidationGroup="NoValidation" runat="server" />
                            </div>
                            <div class="settingrow" id="divCaptcha" runat="server">
                                <mp:CaptchaControl ID="captcha" runat="server" CssClass="captcha" />
                            </div>
                            <asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="updatePanel1">
                                <ContentTemplate>
                                    <div class="modulebuttonrow">
                                        <portal:mojoButton ID="btnSend" runat="server" ValidationGroup="Contact" Text="Send"
                                            CausesValidation="true" />
                                    </div>
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            <div class="updateProgress">
                                <asp:UpdateProgress ID="upProgress1" runat="server" DisplayAfter="1000">
                                    <ProgressTemplate>
                                        <div class="updateProgress1">
                                            <asp:Image ID="imgProgress" runat="server" />
                                        </div>
                                    </ProgressTemplate>
                                </asp:UpdateProgress>
                            </div>
                        </asp:Panel>
                        <div class="pnlmessage">
                            <asp:UpdatePanel runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional"
                                ID="updatePanelMessage">
                                <ContentTemplate>
                                    <portal:mojoLabel ID="lblMessage" runat="server" CssClass="txterror" />
                                </ContentTemplate>
                            </asp:UpdatePanel>
                            <mp:CornerRounderBottom ID="cbottom1" runat="server" />
                        </div>
                    </fieldset>
                </div>
            </portal:mojoPanel>
        </asp:Panel>
    </portal:mojoPanel>
</portal:ModulePanel>
